package com;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * 示例
 *
 * @author jarvis create by 2020/9/3
 */
public class SimpleMain1 {
    public static void main(String[] args) throws InterruptedException, IOException {
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("META-INF/spring-context1.xml");
        applicationContext.start();
        while(true){
            Thread.sleep(Integer.MAX_VALUE);
        }
    }
}
